package com.zzl.example.springboottest.bean;

import lombok.AllArgsConstructor;
import lombok.Data;

/**
 * @ClassName Student
 * @Description test
 * @Author Zengliang Zheng
 * @Date 2024/3/11 18:15
 * @Version 1.0
 */
@Data
@AllArgsConstructor
public class Student {

    /**
     * 学生ID
     */
    private String sid;
    /**
     * 学生姓名
     */
    private String name;
    /**
     * 学生年龄
     */
    private Integer age;
    /**
     * 性别
     */
    private String gender;
    /**
     * 所属班级
     */
    private String className;
    private double salary;
    private double bonus;

    public Student(String name, int age, double salary, double bonus) {
        this.name = name;
        this.age = age;
        this.salary = salary;
        this.bonus = bonus;
    }

    public Student() {

    }

    public Student(String sid, String name, int age, String gender, String className) {
        this.sid = sid;
        this.name = name;
        this.age = age;
        this.gender = gender;
        this.className = className;
    }
}

    
